@extends('master')

@section('title', '简历审核')

@section('content')
<div class="row">
	<div class="col-md-12">
		@include('message')
		<p class="lead">
			简历详情
		</p>
	</div>
</div>

<div class="row">
	<div class="col-md-12">
		<% Form::model($resume, array('route' => array('admin.resumes.update', $resume->id), 'method' => 'PUT')) %>
			<div class="form-group">
				<button type="submit" class="<% !$resume->status ? 'btn btn-danger' : 'btn btn-success' %>"><% !$resume->status ? '未标记已审核' : '已审核' %></button>
			</div>
		<% Form::close() %>
		<div class="well">
			<dl class="dl-horizontal">
				<dt>姓名</dt>
				<dd><% $resume->name %></dd>
				<dt>手机</dt>
				<dd>
					<% $resume->phone %> 
					<a href="tel:<% $resume->phone %>" class="btn btn-info btn-xs">打电话给他/她</a></dd>
				<dt>邮箱</dt>
				<dd>
				<% $resume->email %> 
					<a href="mailto:<% $resume->email %>" class="btn btn-info btn-xs">
						发送邮件给他/她
					</a>
				</dd>
				<dt>出生日期</dt>
				<dd><% $resume->birthday %></dd>
				<dt>现居地</dt>
				<dd><% $resume->place %></dd>
				<dt>学历情况</dt>
				<dd><% $resume->education %></dd>
				<dt>申请的职位</dt>
				<dd><% $resume->job->name %></dd>
                <dt>期望年薪</dt>
                <dd><% $resume->expectation %></dd>
				<dt>一句话介绍</dt>
				<dd><% $resume->intro %></dd>
			</dl>
		</div>
	</div>
</div>

@stop